﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 房号
    /// </summary>
    public class HouseNum
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房间名称【房号】
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 是否要押金
        /// 【true需要、false不需要】
        /// </summary>
        public bool IsDeposit { get; set; }
        /// <summary>
        /// 押金金额
        /// </summary>
        public decimal Deposit { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public float Area { get; set; }
        /// <summary>
        /// 人数
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// true启用留言，false不能留言
        /// </summary>
        public bool IsNode { get; set; }
        /// <summary>
        /// 留言信息
        /// </summary>
        public string Node { get; set; }
        /// <summary>
        /// 加床方式
        /// 1不可加床
        /// 2免费加床
        /// 3收费加床
        /// </summary>
        public int ExtraBed {  get; set; }
        /// <summary>
        /// 选择收费加床时填写所需金额
        /// </summary>
        public decimal ExtraBedPrice {  get; set; } 

        public string Img { get; set; }
        /// <summary>
        /// 状态
        /// 1表示空闲
        /// 2表示已预订
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 房型编号
        /// </summary>
        public int HouseTypeId { get; set; }
    }
}
